package cn.npe.di.annotation;

import java.lang.annotation.*;
/**
 * @ClassName DI
 * @Author zhjx
 * @Description 
 * @Date 2024/5/17 17:54
 **/
@Target({ElementType.CONSTRUCTOR, ElementType.METHOD, ElementType.PARAMETER, ElementType.FIELD, ElementType.ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface DI {
    /**
     * @Description ALL：注入全部实现类 assign: 配合serviceIds 注入指定的类型
     * @return java.lang.String
     **/
    String value() default "all";

    String[] serviceIds() default "";

    boolean required() default true;
}